package com.wms.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@ApiModel(value = "类别")
@NoArgsConstructor
@AllArgsConstructor
public class Category3 {
    @ApiModelProperty(value = "类别id")
    int id;
    @ApiModelProperty(value = "类别名称")
    String name;
    @ApiModelProperty(value = "类别父id")
    int pid;
    @ApiModelProperty(value = "子类别列表")
    List<Category3> categoryList;
}
